package com.woniuxy.happylife.datastore.service;

import com.woniuxy.happylife.entity.ActivityRelease;
import org.springframework.mock.web.MockMultipartFile;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 活动数据、用户动态存储service接口
 */
public interface StoreService {

    /**
     * 存储数据
     * @param fileName
     * @param file
     * @return boolean
     */
    public boolean saveRelease(String fileName, MockMultipartFile file);

    /**
     * 存储用户动态数据
     * @param DynamicUuidStr
     * @param file
     * @return
     */
    public String saveDynamic(String DynamicUuidStr, MultipartFile file);


}
